<template>
  <div id="app">
    <div v-if="!getToken()">
      <router-view/>
    </div>
    <div v-else>
      <BasicLayout />
    </div>
  </div>
</template>

<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'
import { getToken } from '@/utils/auth.ts'
</script>

<style></style>
